SftTree/OCX 7.0

VirtualItem.CellSelectForeColor Property

Softel vdm, Inc.

Defines the foreground color used to draw the item's cell that is selected.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Cell.SelectForeColor instead

Syntax       

Put

VB.NET

object.CellSelectForeColor(ByVal ColIndex As Short) = Clr  As UIntegerLanguage-specific information

VB

object.CellSelectForeColor(ByVal ColIndex As Integer) = Clr  As OLE_COLOR

C#.NET

void object.set_CellSelectForeColor(short ColIndex, uintLanguage-specific information Clr);

VC++

OLE_COLOR object->CellSelectForeColor[short ColIndex] = Clr;
void object->PutCellSelectForeColor(short ColIndex, OLE_COLOR Clr);

C

HRESULT object->put_CellSelectForeColor(short ColIndex, OLE_COLOR Clr);

Delphi

object.CellSelectForeColor[ColIndex : Smallint] := Clr  : Cardinal;

object

A VirtItem object.

ColIndex

The zero-based column number.  The combination of ColIndex and the VirtualItem event's RowIndex parameter describes an individual cell.

Clr

Defines the foreground color used to draw the item's cell that is selected.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Cell.SelectForeColor instead

The CellSelectForeColor property defines the foreground color used to draw the item's cell that is selected.

The VirtualItem.CellForeColor property is used while handling a VirtualItem event to define the foreground color for the cell described by ColIndex and the VirtualItem event's RowIndex parameter.

See Also  VirtualItem Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com